# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'Login.ui'
##
## Created by: Qt User Interface Compiler version 6.8.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QDialog, QFrame, QHBoxLayout,
    QLabel, QLineEdit, QPushButton, QSizePolicy,
    QStackedWidget, QVBoxLayout, QWidget)
from state import icon_rc

class Ui_LoginWindow(object):
    def setupUi(self, LoginWindow):
        if not LoginWindow.objectName():
            LoginWindow.setObjectName(u"LoginWindow")
        LoginWindow.resize(771, 623)
        self.frame = QFrame(LoginWindow)
        self.frame.setObjectName(u"frame")
        self.frame.setGeometry(QRect(80, 79, 230, 391))
        self.frame.setMinimumSize(QSize(230, 380))
        self.frame.setStyleSheet(u"#frame{\n"
"	background-color: qlineargradient(spread:pad, x1:0.465, y1:0.398182, x2:1, y2:1, stop:0 rgba(91, 189, 106, 255), stop:1 rgba(255, 255, 255, 255));\n"
"	border-bottom-left-radius:20px;\n"
"	border-top-left-radius:20px;\n"
"}\n"
"\n"
"QLabel{\n"
"	color:#fff;\n"
"	font: 700 16pt \"\u5fae\u8f6f\u96c5\u9ed1\";\n"
"}")
        self.frame.setFrameShape(QFrame.Shape.StyledPanel)
        self.frame.setFrameShadow(QFrame.Shadow.Raised)
        self.verticalLayout = QVBoxLayout(self.frame)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.label = QLabel(self.frame)
        self.label.setObjectName(u"label")

        self.verticalLayout.addWidget(self.label, 0, Qt.AlignmentFlag.AlignHCenter|Qt.AlignmentFlag.AlignVCenter)

        self.label_2 = QLabel(self.frame)
        self.label_2.setObjectName(u"label_2")
        self.label_2.setStyleSheet(u"font: 12pt \"\u5fae\u8f6f\u96c5\u9ed1\";")

        self.verticalLayout.addWidget(self.label_2, 0, Qt.AlignmentFlag.AlignHCenter|Qt.AlignmentFlag.AlignVCenter)

        self.frame_2 = QFrame(LoginWindow)
        self.frame_2.setObjectName(u"frame_2")
        self.frame_2.setGeometry(QRect(310, 110, 300, 360))
        self.frame_2.setMinimumSize(QSize(300, 360))
        self.frame_2.setMaximumSize(QSize(16777215, 340))
        self.frame_2.setStyleSheet(u"#frame_2{\n"
"	border-bottom-right-radius:20px;\n"
"	background-color: rgb(186, 179, 184);\n"
"}")
        self.frame_2.setFrameShape(QFrame.Shape.StyledPanel)
        self.frame_2.setFrameShadow(QFrame.Shadow.Raised)
        self.verticalLayout_2 = QVBoxLayout(self.frame_2)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.frame_3 = QFrame(self.frame_2)
        self.frame_3.setObjectName(u"frame_3")
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(10)
        sizePolicy.setHeightForWidth(self.frame_3.sizePolicy().hasHeightForWidth())
        self.frame_3.setSizePolicy(sizePolicy)
        self.frame_3.setFrameShape(QFrame.Shape.StyledPanel)
        self.frame_3.setFrameShadow(QFrame.Shadow.Raised)
        self.horizontalLayout_2 = QHBoxLayout(self.frame_3)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.stackedWidget = QStackedWidget(self.frame_3)
        self.stackedWidget.setObjectName(u"stackedWidget")
        self.stackedWidget.setStyleSheet(u"QPushButton{\n"
"	font: 20pt \"\u6977\u4f53\";\n"
"	color: rgb(255, 255, 255);\n"
"	border-radius:20px;\n"
"	background-color: rgb(84, 84, 84);\n"
"}\n"
"QPushButton:hover{\n"
"	background-color: rgb(71, 71, 71);\n"
"}\n"
"QPushButton:pressed{\n"
"	padding-right:5px;\n"
"	padding-bottom:5px;\n"
"}\n"
"QLineEdit{\n"
"	background-color:rgba(255,255,255,0);\n"
"	border:none;\n"
"	border-bottom:1px solid black;\n"
"}")
        self.page_login = QWidget()
        self.page_login.setObjectName(u"page_login")
        self.verticalLayout_3 = QVBoxLayout(self.page_login)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.lusername = QLineEdit(self.page_login)
        self.lusername.setObjectName(u"lusername")
        self.lusername.setMinimumSize(QSize(0, 30))

        self.verticalLayout_3.addWidget(self.lusername)

        self.lpassword = QLineEdit(self.page_login)
        self.lpassword.setObjectName(u"lpassword")
        self.lpassword.setMinimumSize(QSize(0, 30))
        self.lpassword.setEchoMode(QLineEdit.EchoMode.Password)

        self.verticalLayout_3.addWidget(self.lpassword)

        self.login = QPushButton(self.page_login)
        self.login.setObjectName(u"login")
        self.login.setMinimumSize(QSize(0, 40))

        self.verticalLayout_3.addWidget(self.login)

        self.stackedWidget.addWidget(self.page_login)
        self.page_rigster = QWidget()
        self.page_rigster.setObjectName(u"page_rigster")
        self.verticalLayout_4 = QVBoxLayout(self.page_rigster)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.rusername = QLineEdit(self.page_rigster)
        self.rusername.setObjectName(u"rusername")
        self.rusername.setMinimumSize(QSize(0, 30))

        self.verticalLayout_4.addWidget(self.rusername)

        self.rpassword = QLineEdit(self.page_rigster)
        self.rpassword.setObjectName(u"rpassword")
        self.rpassword.setMinimumSize(QSize(0, 30))
        self.rpassword.setEchoMode(QLineEdit.EchoMode.Password)

        self.verticalLayout_4.addWidget(self.rpassword)

        self.rpasswordSure = QLineEdit(self.page_rigster)
        self.rpasswordSure.setObjectName(u"rpasswordSure")
        self.rpasswordSure.setMinimumSize(QSize(0, 30))
        self.rpasswordSure.setEchoMode(QLineEdit.EchoMode.Password)

        self.verticalLayout_4.addWidget(self.rpasswordSure)

        self.rrigster = QPushButton(self.page_rigster)
        self.rrigster.setObjectName(u"rrigster")
        self.rrigster.setMinimumSize(QSize(0, 40))

        self.verticalLayout_4.addWidget(self.rrigster)

        self.stackedWidget.addWidget(self.page_rigster)

        self.horizontalLayout_2.addWidget(self.stackedWidget)


        self.verticalLayout_2.addWidget(self.frame_3)

        self.frame_4 = QFrame(self.frame_2)
        self.frame_4.setObjectName(u"frame_4")
        sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Expanding)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(1)
        sizePolicy1.setHeightForWidth(self.frame_4.sizePolicy().hasHeightForWidth())
        self.frame_4.setSizePolicy(sizePolicy1)
        self.frame_4.setStyleSheet(u"QPushButton{\n"
"	border:none;\n"
"\n"
"}\n"
"QPushButton:hover{\n"
"	color: rgb(136, 136, 136);\n"
"}\n"
"QPushButton:pressed{\n"
"	padding-right:5px;\n"
"	padding-bottom:5px;\n"
"}")
        self.frame_4.setFrameShape(QFrame.Shape.StyledPanel)
        self.frame_4.setFrameShadow(QFrame.Shadow.Raised)
        self.horizontalLayout = QHBoxLayout(self.frame_4)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.tLogin = QPushButton(self.frame_4)
        self.tLogin.setObjectName(u"tLogin")
        self.tLogin.setMinimumSize(QSize(0, 30))
        icon = QIcon()
        icon.addFile(u":/icon/icon/login.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.tLogin.setIcon(icon)
        self.tLogin.setIconSize(QSize(30, 30))

        self.horizontalLayout.addWidget(self.tLogin)

        self.tRigster = QPushButton(self.frame_4)
        self.tRigster.setObjectName(u"tRigster")
        self.tRigster.setMinimumSize(QSize(0, 30))
        icon1 = QIcon()
        icon1.addFile(u":/icon/icon/zhucedenglu.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.tRigster.setIcon(icon1)
        self.tRigster.setIconSize(QSize(30, 30))

        self.horizontalLayout.addWidget(self.tRigster)


        self.verticalLayout_2.addWidget(self.frame_4)

        self.pushButton_3 = QPushButton(LoginWindow)
        self.pushButton_3.setObjectName(u"pushButton_3")
        self.pushButton_3.setGeometry(QRect(560, 80, 51, 30))
        self.pushButton_3.setMinimumSize(QSize(0, 30))
        self.pushButton_3.setStyleSheet(u"QPushButton{\n"
"	border:none;\n"
"	background-color: rgb(186, 179, 184);\n"
"	border-top-right-radius:20px;\n"
"}\n"
"QPushButton:pressed{\n"
"	padding-right:5px;\n"
"	padding-bottom:5px;\n"
"}")
        icon2 = QIcon()
        icon2.addFile(u":/icon/icon/tuichudenglu.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        self.pushButton_3.setIcon(icon2)
        self.pushButton_3.setIconSize(QSize(30, 30))
        self.pushButton = QPushButton(LoginWindow)
        self.pushButton.setObjectName(u"pushButton")
        self.pushButton.setGeometry(QRect(310, 80, 251, 30))
        self.pushButton.setStyleSheet(u"QPushButton{\n"
"	border:none;\n"
"	background-color: rgb(186, 179, 184);\n"
"}")
        self.frame_2.raise_()
        self.pushButton_3.raise_()
        self.pushButton.raise_()
        self.frame.raise_()

        self.retranslateUi(LoginWindow)
        self.pushButton_3.clicked.connect(LoginWindow.close)

        self.stackedWidget.setCurrentIndex(0)


        QMetaObject.connectSlotsByName(LoginWindow)
    # setupUi

    def retranslateUi(self, LoginWindow):
        LoginWindow.setWindowTitle(QCoreApplication.translate("LoginWindow", u"Dialog", None))
        self.label.setText(QCoreApplication.translate("LoginWindow", u"\u6b22\u8fce\u4f7f\u7528\u8d26\u52a1\u7ba1\u7406\u7cfb\u7edf", None))
        self.label_2.setText(QCoreApplication.translate("LoginWindow", u"\u672c\u7a0b\u5e8f\u7531\u80e1\u8363\u6c5f\u5f00\u53d1", None))
        self.lusername.setPlaceholderText(QCoreApplication.translate("LoginWindow", u"\u7528\u6237\uff1a", None))
        self.lpassword.setPlaceholderText(QCoreApplication.translate("LoginWindow", u"\u5bc6\u7801\uff1a", None))
        self.login.setText(QCoreApplication.translate("LoginWindow", u"\u767b\u5f55", None))
        self.rusername.setPlaceholderText(QCoreApplication.translate("LoginWindow", u"\u7528\u6237\uff1a", None))
        self.rpassword.setPlaceholderText(QCoreApplication.translate("LoginWindow", u"\u5bc6\u7801\uff1a", None))
        self.rpasswordSure.setPlaceholderText(QCoreApplication.translate("LoginWindow", u"\u518d\u6b21\u8f93\u5165\u5bc6\u7801\uff1a", None))
        self.rrigster.setText(QCoreApplication.translate("LoginWindow", u"\u6ce8\u518c", None))
        self.tLogin.setText("")
        self.tRigster.setText("")
        self.pushButton_3.setText("")
        self.pushButton.setText("")
    # retranslateUi

